//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
//---------------------------------------------------------------------------





































USEFORM("route_descSF.cpp", route_desc);
USEFORM("routeSF.cpp", route);
USEFORM("stopSF.cpp", stop);
USEFORM("SettingsSF.cpp", Settings);
USEFORM("MainSF.cpp", Main);
USEFORM("carriersSF.cpp", carriers);
USEFORM("autoSF.cpp", autos);
USEFORM("intervalSF.cpp", intervals);
//---------------------------------------------------------------------------
WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
	try
	{
		Application->Initialize();
		Application->MainFormOnTaskBar = true;
		Application->CreateForm(__classid(TMain), &Main);
		Application->CreateForm(__classid(Troute_desc), &route_desc);
		Application->CreateForm(__classid(Tcarriers), &carriers);
		Application->CreateForm(__classid(Tautos), &autos);
		Application->CreateForm(__classid(Tintervals), &intervals);
		Application->CreateForm(__classid(TSettings), &Settings);
		Application->Run();
	}
	catch (Exception &exception)
	{
		Application->ShowException(&exception);
	}
	catch (...)
	{
		try
		{
			throw Exception("");
		}
		catch (Exception &exception)
		{
			Application->ShowException(&exception);
		}
	}
	return 0;
}
//---------------------------------------------------------------------------
